package com.cmdb.system.domain.vo;

import java.util.List;

/**
 * 资产统计数据VO
 */
public class AssetStatisticsVO {
    /** 系统类型统计 */
    private List<StatItem> systemTypeStats;

    /** 操作系统统计 */
    private List<StatItem> osTypeStats;

    /** 中间件统计 */
    private List<StatItem> middlewareStats;

    /** 系统级别统计 */
    private List<StatItem> systemLevelStats;

    /** 数据库统计 */
    private List<StatItem> databaseStats;

    /** 应用软件产品统计 */
    private List<StatItem> appProductStats;

    public List<StatItem> getSystemTypeStats() {
        return systemTypeStats;
    }

    public void setSystemTypeStats(List<StatItem> systemTypeStats) {
        this.systemTypeStats = systemTypeStats;
    }

    public List<StatItem> getOsTypeStats() {
        return osTypeStats;
    }

    public void setOsTypeStats(List<StatItem> osTypeStats) {
        this.osTypeStats = osTypeStats;
    }

    public List<StatItem> getMiddlewareStats() {
        return middlewareStats;
    }

    public void setMiddlewareStats(List<StatItem> middlewareStats) {
        this.middlewareStats = middlewareStats;
    }

    public List<StatItem> getSystemLevelStats() {
        return systemLevelStats;
    }

    public void setSystemLevelStats(List<StatItem> systemLevelStats) {
        this.systemLevelStats = systemLevelStats;
    }

    public List<StatItem> getDatabaseStats() {
        return databaseStats;
    }

    public void setDatabaseStats(List<StatItem> databaseStats) {
        this.databaseStats = databaseStats;
    }

    public List<StatItem> getAppProductStats() {
        return appProductStats;
    }

    public void setAppProductStats(List<StatItem> appProductStats) {
        this.appProductStats = appProductStats;
    }

    /**
     * 统计项
     */
    public static class StatItem {
        /** 名称 */
        private String name;

        /** 数量 */
        private Long value;

        public StatItem() {
        }

        public StatItem(String name, Long value) {
            this.name = name;
            this.value = value;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Long getValue() {
            return value;
        }

        public void setValue(Long value) {
            this.value = value;
        }
    }
} 